package me.zhengjie.modules.logistics.domain.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.logistics.domain.dto.LogisticsOrderDTO;

import java.util.List;

@Data
public class LogisticsOrderResp {

    @ApiModelProperty(value = "消息体，请忽略")
    private String message;

    @ApiModelProperty(value = "单号")
    private String nu;

    @ApiModelProperty(value = "是否签收标记，0未签收，1已签收，请忽略，明细状态请参考state字段")
    private String ischeck;

    @ApiModelProperty(value = "条件")
    private String condition;

    @ApiModelProperty(value = "快递公司编码,一律用小写字母")
    private String com;

    @ApiModelProperty(value = "快递单当前状态，默认为0在途，1揽收，2疑难，3签收，4退签，5派件，8清关，14拒签等10个基础物流状态，如需要返回高级物流状态，请参考 https://api.kuaidi100.com/document/5f0ffb5ebc8da837cbd8aefc")
    private String state;

    @ApiModelProperty(value = "通讯状态，请忽略")
    private String status;

    @ApiModelProperty(value = "最新查询结果，数组，包含多项，全量，倒序（即时间最新的在最前），每项都是对象，对象包含字段请展开")
    private List<LogisticsOrderDTO> data;
}
